<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<style type="text/css">
 div#left_menu a:link {color:#663333;text-decoration:none;font-size:12pt;} /* 未访问的链接 */
 div#left_menu a:visited {color:#663333;text-decoration:none;font-size:12pt;} /* 已访问的链接 */
 div#left_menu a:hover {color:#663333;font-size:12pt;} /* 鼠标移动到链接上 */
 div#left_menu a:active {color: #663333;font-size:12pt;} /* 选定的链接 */
	.left-menu{
		width:100%;		
		text-align:center;
		height:40px;      /* 修改 */
		padding-top:20px;
		color:#CCFFFF;   
		font-size:12pt;    /* 修改字体大小*/      
	}
	
	.week{
		float:left;
		margin:3px;
		background-color:#fbf3e8;
		width:80px;
		text-align:center;
		cursor:Hand;
		font-family:微软雅黑;
	}


.myweek{
	font-family:黑体;
	font-size:55pt;
	color:#ffffff;
	
}

.myday{
	font-family:黑体;
	font-size:30pt;
	color:#ffffff;
	text-align:center;
}

.calendar{
	width:100%;
	height:150px;
	text-align:center;
	background:url('<%=basePath%>images/calendar.png') no-repeat;
	background-size:100% 100%;
}

</style>
	<div style="width:100%;margin-top:60px;">
 	   <div style="width:1000px;margin:0 auto;background-color:#ffffff;"> 	
 	   	  <div style="width:100%;min-height:720px;background-color:#fbf3e8;"> 		 
	   		<div style="width:190px;min-height:720px;float:left;background-color:#fbf3e8;">  <!-- 颜色移到上面一层div，以免正文太长露出白色 -->
	   			<div style="padding:10px;">
		   			<div class="calendar">
		   				<div style="padding-top:30px;">
		   				 <span class="myweek">${myGesweek}</span><span class="myday">+${myGesday}</span>
		   				 </div>
		   			</div>   				
	   			</div>   	   		
	   		
		   		<div style="margin-left:6%">
		   			<%
					int k=1;
					for (int i=1;i<=20;i++){
						for(int j=1;j<=2;j++){
							out.print("<div id='left_menu' class='week' onMouseOver=this.style.backgroundColor='#fb9b81' onMouseOut=this.style.backgroundColor='' onclick=location.href='Week_getWeekKnowledge3Action?weekid="+k+"'><a href='Week_getWeekKnowledge3Action?weekid="+k+"'>孕"+k+"周</a></div>");
							k++;	
						}
						out.print("<br>");
					} 
					%> 	          
				</div>
	   		</div>
	   		
			 
			
